﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="BaseData_SendEmail" ValidateRequest="false" Codebehind="SendEmail.aspx.cs" %>
<%@Register TagPrefix="dntb" Namespace="DotNetTextBox" Assembly="DotNetTextBox"%>
<%@ Register Src="../Controls/UserEmailListControl.ascx" TagName="UserEmailListControl"
    TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript" src="../Include/Js/OpenWindow.js"></script>
    <script type="text/javascript" src="../Include/Js/SocanCode.js"></script>
    <script type="text/javascript" src="../Include/Js/PopupCalendar.js"></script>
    <link href="../App_Themes/main/base.css" type="text/css" rel="Stylesheet" />
    <style type="text/css">
.menu_bg { background-color:#f5f5f5; padding-left:20px;padding-top:6px; padding-bottom:6px;border-bottom:#cccccc 1px solid;border-top:#cccccc 1px solid;clear:left;width:800px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div align="Justify">
        <h2>发送邮件</h2>
    <div>
    
    <div>
            <div>
            <div><asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                邮件类型：

            <asp:DropDownList ID="EmailType" runat="server">
            <asp:ListItem Text="自定义" Value="-1"></asp:ListItem>
<%--            <asp:ListItem Text="激活邮件" Value="0"></asp:ListItem>
            <asp:ListItem Text="找回密码邮件" Value="1"></asp:ListItem>
            <asp:ListItem Text="mail推荐邮件" Value="2"></asp:ListItem>
            <asp:ListItem Text="注册成功邮件" Value="3"></asp:ListItem>
            <asp:ListItem Text="下单成功邮件" Value="4"></asp:ListItem>
            <asp:ListItem Text="支付成功邮件" Value="5"></asp:ListItem>
            <asp:ListItem Text="发货成功邮件" Value="6"></asp:ListItem>--%>
            </asp:DropDownList>
            <asp:Button ID="btnSend" runat="server" Text="发送邮件"  CssClass="input_button" OnClick="btnSend_Click" /><br /></div>
            <br />
             发送到邮箱：<div><asp:TextBox ID="toEmail" runat="server" TextMode="MultiLine" Height="141px" Width="823px"></asp:TextBox></div>
                *填写正确的邮箱用分号隔开
            <br /><br />
            <div>自定义内容：
<DNTB:WebEditor id="body1" Width="400px" Height="150px" Skin="skin/xp/" MenuConfig="all.config" runat="server" LeftAreaAlign="center" LeftAreaWidth="38%" RightAreaWidth="62%"></DNTB:WebEditor>
            </div>
            </div>
            
            <div>
            <div class="menu_bg">
            帐号：<asp:TextBox ID="txtDM" runat="server"></asp:TextBox>
            &nbsp;姓名：<asp:TextBox ID="txtName" runat="server"></asp:TextBox>         
            &nbsp;昵称：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtNickName" runat="server"></asp:TextBox>
            <br /> 
            卡类：<asp:DropDownList ID="DropDownList1" Width="155px" runat="server"></asp:DropDownList>
            &nbsp;电话：<asp:TextBox ID="txtDH" runat="server"></asp:TextBox> 
            &nbsp;VIP卡号：<asp:TextBox ID="txtCardCode" runat="server"></asp:TextBox> 
            <br /> 
            地址：<asp:TextBox ID="txtDZ" runat="server"></asp:TextBox>
            &nbsp;QQ：&nbsp;&nbsp;<asp:TextBox ID="txtQQ" runat="server"></asp:TextBox>
            &nbsp;手机号：&nbsp;&nbsp;<asp:TextBox ID="txtPhone" runat="server"></asp:TextBox> 
              <br /> 
            旺旺：<asp:TextBox ID="txtWW" runat="server"></asp:TextBox>
            &nbsp;邮箱：<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
            &nbsp;MSN：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtMSN" runat="server"></asp:TextBox>
            <br /> 
            备注：<asp:TextBox ID="txtBZ" runat="server" Width="561px"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Text="查找" CssClass="input_button" OnClick="btnSearch_Click" />
            </div>
            <br />
    发送客户：
    <div class="juli">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true">
            <ContentTemplate>
                <uc1:UserEmailListControl ID="UserEmailListControl1" runat="server" />
            </ContentTemplate>
       <Triggers>
       <asp:AsyncPostBackTrigger ControlID="btnSearch"  EventName="Click"/>
       </Triggers>
        </asp:UpdatePanel>
        </div>
</div>
    
    </div> 
        </div>
    </form>
</body>
</html>
